package com.example.common.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "基础响应")
public class BaseResp {

    @Schema(description = "自增序列")
    private Long id;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "创建人")
    private String creator;

    @Schema(description = "修改时间")
    private Date updateTime;

    @Schema(description = "修改人")
    private String modifier;
}
